Dart.Ssh Namespace > UnixPath Class > Combine Method : Combine(String[]) Method |
'Declaration Public Overloads Shared Function Combine( _ ByVal ParamArray unixPaths() As String _ ) As String
public: static String^ Combine( ... array<String^>^ unixPaths )
Exception | Description |
---|---|
System.ArgumentNullException | unixPaths or one of the string in the array is null. |
System.ArgumentException | One of the strings in the array contains a Unix filesystem-illegal character, NUL. |
unixPaths should be an array of the parts of the path to combine. If the one of the subsequent paths is an absolute path, then the combine operation resets starting with that absolute path, discarding all previous combined paths.
Zero-length strings are omitted from the combined path.
White space is not parsed. Therefore, if a path starts with white space (for example, " /file.txt "), the Combine method appends it to the prior paths instead of returning only that path.